home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / spider1.pov < prev    next >
Encoding:
Text File  |  1992-04-03  |  2.3 KB  |  88 lines

  1. // Persistence of Vision Raytracer
  2. // This data file makes a good starting point for developing tests and
  3. // new data files.  It is also used as the benchmark for the timing tests.
  4. #include "include.inc"
  5. #include "spider1.inc"
  6.  
  7. camera {
  8.    location <10  18  -20>
  9.    direction <0.0 0.0  1.0>
  10.    up  <0.0  1.0  0.0>
  11.    right <1.33333 0.0 0.0>
  12.    look_at <0 0 0>
  13.  }
  14.  
  15. // Light source
  16. object { light_source { <-30 50 -15> color White  }}
  17. object { light_source { <30 20 -15> color DimGray  }}
  18.  
  19. object { sphere { <0 0 0> 1000 texture {color DimGray } } }
  20.  
  21. #declare LegPair = composite {
  22.     composite { LegThing }
  23.     composite { LegThing rotate <0 180 0>}
  24. }
  25.  
  26. #declare Spider = composite {
  27.     composite { LegPair rotate <0  15 0>}
  28.     composite { LegPair rotate <0  30 0>}
  29.     composite { LegPair rotate <0 -30 0>}
  30.     composite { LegPair rotate <0 -15 0>}
  31.  
  32.     object { quadric { Sphere}           // Head / Abdoment
  33.         scale <3 2 3>
  34.         translate <0 5 0>
  35.         texture {
  36.             YourTexture
  37.             bumps 0.75
  38.             scale<.25 .75 .25>
  39.         }
  40.     }
  41.  
  42.     object { quadric { Sphere}           // Thorax (rear-end)
  43.         rotate <30 0 0>
  44.         scale <6 3 6>
  45.         translate <0 5 9>
  46.         texture {
  47.             YourTexture
  48.             scale <0.175 1 0.175>
  49.             scale<.75 .75 .75>
  50.         }
  51.      }
  52.     object {                              // Mandables
  53.         quadric { Sphere  scale <1.5 0.75 1.5> }
  54.         clipped_by {
  55.             quadric { Sphere  inverse scale <1.25 1 1.25> translate <0 0.15 -0.30>}
  56.         }
  57.         translate <0 6 -4>
  58.         texture {           // Still using YourTexture colormap
  59.             Gold_Metal
  60.             phong 1 phong_size 200
  61.         }
  62.     }
  63.     object {                              // Eyes
  64.         union {
  65.             quadric { Sphere scale <1 1 1> translate <-0.65 0 0> }
  66.             quadric { Sphere scale <1 1 1> translate <+0.65 0 0> }
  67.         }
  68.         translate <0 6.5 -2.5>
  69.         texture {
  70.             YourTexture
  71.             granite
  72.             phong 0.5 phong_size 200
  73.         }
  74.     }
  75. }
  76.  
  77. composite { Spider translate <0 0 -5> }
  78. composite { Spider rotate <0 -40 0>  translate <-18 0 13>}
  79.  
  80. object { plane { <0 1 0> 0 }
  81.     texture {
  82.         YourTexture
  83.         bozo
  84.         turbulence 0.45
  85.         scale <10 10 10>
  86.     }
  87. }
  88.